package cn.yueranzs.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author yueranzs
 * @date 2021/12/5 11:11
 */
@Data
@ToString
@Configuration
@ConfigurationProperties(prefix = "aliyun-oss")
public class AliyunOSSConfig {

    /**
     * 外网访问节点地址
     */
    private String endPoint;
    /**
     * 访问阿里云API的key
     */
    private String accessKeyId;
    /**
     * 访问阿里云API的盐值
     */
    private String accessKeySecret;
    /**
     * 仓库信息
     */
    private String bucketName;
    /**
     * 访问路径
     */
    private String imagesAddress;
    /**
     * object路径
     */
    private String fileDir;

}
